package com.yanyeori.framework.security.configprop;

import com.yanyeori.framework.core.constant.ChannelEnum;
import lombok.Getter;
import lombok.Setter;

import java.util.HashMap;
import java.util.Map;

/**
 * 用户在线配置
 *
 * @author chenkuan 2023/1/15
 */
@Getter
@Setter
public class OnlineProps {
    //是否启用设备限制(默认false不启用)
    private boolean enableDeviceLimit = false;
    //设备登录数配置
    private Map<ChannelEnum, Integer> deviceNumMap = new HashMap<>();
}
